package com.mt.demo.domain;

import com.mt.demo.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 会议文件对象 mt_file
 * 
 * @author gary
 * @date 2025-08-11
 */
public class MtFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件ID */
    private Long fileId;

    /** 会议ID */
    @Excel(name = "会议ID")
    private Long meetingId;

    /** 原文件名 */
    @Excel(name = "原文件名")
    private String fileName;

    /** 存储路径/URL */
    @Excel(name = "存储路径/URL")
    private String fileUrl;

    /** 上传者用户ID */
    @Excel(name = "上传者用户ID")
    private Long uploaderId;

    /** 上传者名称 */
    @Excel(name = "上传者名称")
    private String uploaderName;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }

    public void setMeetingId(Long meetingId) 
    {
        this.meetingId = meetingId;
    }

    public Long getMeetingId() 
    {
        return meetingId;
    }

    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }

    public void setUploaderId(Long uploaderId) 
    {
        this.uploaderId = uploaderId;
    }

    public Long getUploaderId() 
    {
        return uploaderId;
    }

    public void setUploaderName(String uploaderName) 
    {
        this.uploaderName = uploaderName;
    }

    public String getUploaderName() 
    {
        return uploaderName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("meetingId", getMeetingId())
            .append("fileName", getFileName())
            .append("fileUrl", getFileUrl())
            .append("uploaderId", getUploaderId())
            .append("uploaderName", getUploaderName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
